home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Aug 90 / MacApp.Tech$ 8⁄3⁄90 / 1671-MacApp & Postscript -Jul90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.6 KB  |  44 lines  |  [TEXT/GEOL]

  1. Item    4320447                         30-July-90        19:19PDT
  2.  
  3. From:   AFTERHOURS                      After Hours SW,Richard Wolpert,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.         MACDTS                          Macintosh Developer Tech Supt
  7.  
  8. Sub:    MacApp & Postscript files
  9.  
  10.  
  11.     TO: DTS,MACAPP.TECH$
  12.     FR: AFTERHOURS
  13.     RE: MacApp and Postscript Files
  14.  
  15. Hi gang,
  16.  
  17. Thanks for all the responses to handles in MacApp.  The problem turned out to
  18. be that when we opened an application as a resource file, all the resources
  19. with resPreLoad = TRUE were loaded into memory.  This caused lots of memory
  20. problems (obviously), so simply setting resLoad to false temporarilly with
  21. SetResLoad(FALSE) before the call to OpenresFile saved the day.
  22.  
  23. On to our next challenge.  We want to print postscript files from within a
  24. MacApp view.  I think this topic has been touched on before, but I can't
  25. remember when or where.  I have an idea of where code to do this will go, in a
  26. method of a subclass of TView, something like TPostscriptFile.Draw.  The
  27. question is, what is the code I need to put there?  or..
  28.  
  29.     How do I print a postscript file in MacApp?
  30.  
  31. I don't need to set up the printer or the printshop, or the grafport, or
  32. anything like that because MacApp takes care of this for me, right?  So all I
  33. need to do is open the file (resource, whatever), send the info to the printer,
  34. and close the file.  Any ideas?  Am I on the right track?
  35.  
  36. Also, is there a difference between a postscript file and a EPS file?  If so,
  37. is there different code used to print EPS files?
  38.  
  39. Thanks for your support...
  40.  
  41. Dan Cooley
  42. After Hours Software
  43.  
  44.